home *** CD-ROM | disk | FTP | other *** search
/ 64'er 1989 May / 64er_Magazin_89-05_1989_Markt__Technik_de.d64 / logelei freunde (.txt) < prev    next >
Commodore BASIC  |  2022-10-26  |  479b  |  21 lines

  1. 100 rem logelei: freunde      64'er '89
  2. 110 for a=-1 to 0
  3. 120 for b=-1 to 0
  4. 130 for c=-1 to 0
  5. 140 for d=-1 to 0
  6. 150 for e=-1 to 0
  7. 160 for f=-1 to 0
  8. 200 w=(aandeandf)
  9. 210 w=w and (not(eandd))
  10. 220 w=w and (b=>(notf))
  11. 230 w=w and ((aandc)<>(notaandnotc))
  12. 240 w=w and ((notc)=>b)
  13. 250 if w then a1=a:b1=b:c1=c:d1=d:e1=e:f1=f::a=1:b=1:c=1:e=1:f=1
  14. 300 next f,e,d,c,b,a
  15. 500 if a1 then print"axel kommt."
  16. 510 if b1 then print"bernd kommt."
  17. 520 if c1 then print"christian kommt."
  18. 530 if d1 then print"dietrich kommt."
  19. 540 if e1 then print"erich kommt."
  20. 550 if f1 then print"fritz kommt."
  21.